package cn.lds.j368.dsedu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("video_order")
public class Order {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;                   //主键
    private String outTradeNo;         //订单唯一标识

    private Byte payState;             //支付状态 0 未支付 1：已支付

    private BigDecimal totalFee;        //支付金额

    private Integer videoId;            //视频编号

    private Integer userId;             //用户id

    private Byte isDeleted;             //逻辑删除


}
